import Layout from "@/layout";
import SubLayout from "@/layout/subLayout.vue";

const wechatRouter = {
  path: "/wechat",
  component: Layout,
  redirect: "noRedirect",
  name: "Wechat",
  meta: { title: "客服管理", icon: "example" },
  children: [
    {
      path: "list",
      component: () => import("@/modules/wechat/list.vue"),
      name: "wechatList",
      meta: { title: "客服列表", icon: "accountManage" }
    },
    {
      path: "configuration",
      component: () => import("@/modules/wechat/edit.vue"),
      name: "wechatConfiguration",
      meta: { title: "角色列表", icon: "accountManage" }
    }
  ]
};

export default wechatRouter;
